package com.ruoyi.terminal.domain.SimResponse.BasicInfo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class BasicInfoResult {

    private String msisdn;
    private String imsi;
    private String iccid;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date activeDate;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date openDate;

    public BasicInfoResult() {
    }

    public BasicInfoResult(String msisdn, String imsi, String iccid, Date activeDate, Date openDate) {
        this.msisdn = msisdn;
        this.imsi = imsi;
        this.iccid = iccid;
        this.activeDate = activeDate;
        this.openDate = openDate;
    }

    public String getMsisdn() {
        return msisdn;
    }

    public void setMsisdn(String msisdn) {
        this.msisdn = msisdn;
    }

    public String getImsi() {
        return imsi;
    }

    public void setImsi(String imsi) {
        this.imsi = imsi;
    }

    public String getIccid() {
        return iccid;
    }

    public void setIccid(String iccid) {
        this.iccid = iccid;
    }

    public Date getActiveDate() {
        return activeDate;
    }

    public void setActiveDate(Date activeDate) {
        this.activeDate = activeDate;
    }

    public Date getOpenDate() {
        return openDate;
    }

    public void setOpenDate(Date openDate) {
        this.openDate = openDate;
    }

    @Override
    public String toString() {
        return "BasicInfoResult{" +
                "msisdn='" + msisdn + '\'' +
                ", imsi='" + imsi + '\'' +
                ", iccid='" + iccid + '\'' +
                ", activeDate=" + activeDate +
                ", openDate=" + openDate +
                '}';
    }

}
